/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tesam.gedeon.service;

import com.tesam.gedeon.entity.Currency;
import java.util.List;

/**
 *
 * @author Sistema
 */
public interface CurrencyService {
    
    public List<Currency> getListByLimit(String dataToSort ,String directionOfOrder , int startLimit , int endLimit);
    
   public List<Currency> getSearchCurrencyByLimit(String dataToSort ,String directionOfOrder , int startLimit , int endLimit , Currency currency);
   
   public int getCountAll();
   
   public int getTotalBySearch(Currency currency);
   
   public String getJsonDataFromArrayList(List<Currency> listCurrency, int countRecord);
   
   public int saveCurrency(Currency currency);
   
   public List<Currency> getCurrencyById(Currency currency);
   
   public List<Currency> updateCurrency(Currency currency);
   
   public void deleteCurrency(Currency currency);
   
}
